package com.atguigu.jxc.service;

import com.atguigu.jxc.entity.Supplier;
import com.github.pagehelper.PageInfo;

import java.util.List;
import java.util.Map;

/**
 * @author huangxin
 * @description
 * @date 2020/12/2
 */
public interface SupplierService {
    PageInfo<Supplier> getSuppliersByPageAndCondition(String supplierName);

    void saveSupplier(Supplier supplier);

    void updateSupplierById(Supplier supplier);

    void deleteSuppliersBatch(String ids);

    List<Map<String, Object>> getAllSuppliers();
}
